package com.leo.erp.entity;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

@TableName("tb_material_extend")
public class MaterialExtend {
	@TableId(value = "materialExtendid", type = IdType.AUTO)
	private int materialExtendid;
	
	@TableField("materialId")
	private int materialId;//商品id
	
	@TableField("barCode")
	private String barCode;//商品条码
	
	@TableField("commodityUnit")
	private String commodityUnit;//商品单位
	
	@TableField("purchaseDecimal")
	private double purchaseDecimal;//采购价格
	
	@TableField("commodityDecimal")
	private double commodityDecimal;//零售价格
	
	@TableField("wholesaleDecimal")
	private double wholesaleDecimal;//销售价格
	
	@TableField("lowDecimal")
	private double lowDecimal;//最低售价
	
	@TableField("defaultFlag")
	private String defaultFlag;//是否为默认单位，1是，0否
	
	@TableField("createTime")
	private Date createTime;//创建日期
	
	@TableField("createSerial")
	private String createSerial;//创建人编码
	
	@TableField("updateSerial")
	private String updateSerial;//更新人编码
	
	@TableField("updateTime")
	private int updateTime;//更新时间戳
	
	@TableField("tenantId")
	private int tenantId;//租户id
	
	@TableField("deleteFlag")
	private String deleteFlag;//删除标记，0未删除，1删除

	public int getMaterialExtendid() {
		return materialExtendid;
	}

	public void setMaterialExtendid(int materialExtendid) {
		this.materialExtendid = materialExtendid;
	}

	public int getMaterialId() {
		return materialId;
	}

	public void setMaterialId(int materialId) {
		this.materialId = materialId;
	}

	public String getBarCode() {
		return barCode;
	}

	public void setBarCode(String barCode) {
		this.barCode = barCode == null ? null : barCode.trim();
	}

	public String getCommodityUnit() {
		return commodityUnit;
	}

	public void setCommodityUnit(String commodityUnit) {
		this.commodityUnit = commodityUnit == null ? null : commodityUnit.trim();
	}

	public double getPurchaseDecimal() {
		return purchaseDecimal;
	}

	public void setPurchaseDecimal(double purchaseDecimal) {
		this.purchaseDecimal = purchaseDecimal;
	}

	public double getCommodityDecimal() {
		return commodityDecimal;
	}

	public void setCommodityDecimal(double commodityDecimal) {
		this.commodityDecimal = commodityDecimal;
	}

	public double getWholesaleDecimal() {
		return wholesaleDecimal;
	}

	public void setWholesaleDecimal(double wholesaleDecimal) {
		this.wholesaleDecimal = wholesaleDecimal;
	}

	public double getLowDecimal() {
		return lowDecimal;
	}

	public void setLowDecimal(double lowDecimal) {
		this.lowDecimal = lowDecimal;
	}

	public String getDefaultFlag() {
		return defaultFlag;
	}

	public void setDefaultFlag(String defaultFlag) {
		this.defaultFlag = defaultFlag == null ? null : defaultFlag.trim();
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getCreateSerial() {
		return createSerial;
	}

	public void setCreateSerial(String createSerial) {
		this.createSerial = createSerial == null ? null : createSerial.trim();
	}

	public String getUpdateSerial() {
		return updateSerial;
	}

	public void setUpdateSerial(String updateSerial) {
		this.updateSerial = updateSerial == null ? null : updateSerial.trim();
	}

	public int getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(int updateTime) {
		this.updateTime = updateTime;
	}

	public int getTenantId() {
		return tenantId;
	}

	public void setTenantId(int tenantId) {
		this.tenantId = tenantId;
	}

	public String getDeleteFlag() {
		return deleteFlag;
	}

	public void setDeleteFlag(String deleteFlag) {
		this.deleteFlag = deleteFlag == null ? null : deleteFlag.trim();
	}
	
	
}
